//
//  CPSDWebImageController.swift
//  CJPackDemo
//
//  Created by 陈警卫 on 2023-12-08.
//

import UIKit
import CJPack

class CPSDWebImageController: CJBaseBackController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let imageV = UIImageView(frame: CGRect(x: 0.0, y: 0.0, width: view.cj_width, height: view.cj_width))
        imageV.cj_centerY = view.cj_height * 0.5
        imageV.contentMode = .scaleAspectFit
        view.addSubview(imageV)
        
        imageV.cj_sd_setImage("https://lmg.jj20.com/up/allimg/1114/0406210Z024/2104060Z024-5-1200.jpg")
    }
    
}
